package com.k1998.mybatis.dao;

import com.k1998.mybatis.bean.Student;
import com.k1998.mybatis.bean.StudentClass;
import com.k1998.mybatis.bean.StudentLogin;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IStudentClassDao {
    public List<StudentClass> findAll(@Param("classname") String classname, @Param("pageStart") int pageStart, @Param("pageSize") int pageSize);
    public int getCounts(@Param("classname") String classname);
    public StudentClass detailStudentClass(StudentClass studentClass);
    public int insertStudentClass(StudentClass studentClass);
    public int updateStudentClass(StudentClass studentClass);
    public int deleteStudentClass(StudentClass studentClass);
}
